﻿namespace CSharpPro._1027;

public class Demo
{
    public int Add(int a, int b)
    {
        return a + b;
    }

    public int Add(int a, int b, int c)
    {
        return a + b + c;
    }

    public double Add(double a, double b)
    {
        return a + b;
    }

    public void TestPrint()
    {
        Student s =new Student();
        s.Id = 23;
        s.Name = "Jordan";
    }

    public void TestPrint2()
    {
        Parent p = new Parent();
        Child c = new Child();
        c.Print();
    }
}